package com.jdrx.ocp.beans.dto.user;

import com.jdrx.ocp.beans.constans.ELoginFlag;
import com.jdrx.ocp.beans.dto.AddBaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel("新增用户参数")
@Data
@EqualsAndHashCode(callSuper = false)
public class AddUserDTO extends AddBaseDTO {
    @ApiModelProperty(value = "人员姓名")
    private String realName;

    @ApiModelProperty(value = "手机号(登录账号名)")
    private String name;

    @ApiModelProperty(value = "权限级别：0超级管理员、1管理员、2技术员")
    private Integer roleLevel;

    @ApiModelProperty(value = "管理厂站id,英文逗号分隔的字符串")
    private String stationIds;

    @ApiModelProperty(value = "管理厂站名,英文逗号分隔的字符串")
    private String stations;

    @ApiModelProperty(value = "用户密码")
    private String pwd;

    @ApiModelProperty(hidden = true)
    private Integer loginFlag = ELoginFlag.UN_LOGIN.getKey();

    @ApiModelProperty(hidden = true)
    private Long tenantId;

    @ApiModelProperty(hidden = true)
    private String dataNode;

    //@NotNull
    //@NotBlank
    @ApiModelProperty(value = "角色id,以英文逗号隔开")
    private String roleIds;

    @ApiModelProperty(value = "直播间标识符")
    private String studioIdentify;
}